package com.enjoyor.health.HGPT.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
@TableName("selftest_question")
@ApiModel(value = "SelftestQuestion对象", description = "")
public class SelftestQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty("问题库id")
    private String selftestId;

    @ApiModelProperty("序号")
    private Integer sn;

    @ApiModelProperty("问题")
    private String question;

    @ApiModelProperty("选项")
    private String options;

    @ApiModelProperty("答案")
    private String name;

    @ApiModelProperty("分数")
    private Integer score;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSelftestId() {
        return selftestId;
    }

    public void setSelftestId(String selftestId) {
        this.selftestId = selftestId;
    }

    public Integer getSn() {
        return sn;
    }

    public void setSn(Integer sn) {
        this.sn = sn;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "SelftestQuestion{" +
            "id = " + id +
            ", selftestId = " + selftestId +
            ", sn = " + sn +
            ", question = " + question +
            ", options = " + options +
            ", name = " + name +
            ", score = " + score +
        "}";
    }
}
